void IntToCharChange(int num, char* pval) {
    char strval[100];
    int val_0 = 0;
    int val_1 = 0;
    val_0 = num;
    for(int i = 0; i < 100; i++) {
        val_0 = num % 10;
        val_1 = num / 10;

        strval[i] = val_0 + 48;
        if(val_1 < 10) {
            i++;
            strval[i] = val_1 + 48;
            break;
        }
    }
    for( int j = 0; j < i; j++) {
        pval[j] = strval[i - j];
    }
    pval[++j] = '\0';
}